import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:common/global/global_event.dart';

import 'module_route_manager.dart';

abstract class ModuleRegistrar {
  ModuleRegistrar({BuildType buildType});

  ModuleRouteManager get routerManager;

  LocalizationsDelegate get localizationsDelegate;

  Function(GlobalEvent) get eventHandler => null;

  Map<String, Bloc> get globalBlocs => null;

  void setBuildType(BuildType buildType);
}

enum BuildType {  Test, Pre, Release }
